import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import axios from './plugin/axios'
import qs from 'qs'
import * as filters from './filters/index' // global filters
import './assets/global.css'
import 'element-ui/lib/theme-chalk/index.css';
import './assets/fonts/iconfont.css'
Vue.use(ElementUI);
Vue.prototype.$qs = qs
Vue.config.productionTip = false

// register global utility filters
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
new Vue({
  router,
  store,
  axios,
  render: h => h(App)
}).$mount('#app')
